package com.cdtu.testdynamicdatasource.mapper.sqlserver;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

@Mapper
@DS("sqlserver")
// 远程 sqlserver 数据库
public interface UserInfoMapper {
    @Select("SELECT * FROM dbo.UserInfo")
    List<Map<String, String>> getUserInfoList();
}
